<?php /* Smarty version Smarty-3.1.6, created on 2018-05-29 20:54:53
         compiled from "D:/phpStudy/PHPTutorial/WWW/myshop/Home/View\User\registerinfo.html" */ ?>
<?php /*%%SmartyHeaderCode:11230185455b0d471db2b1a0-17371941%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'cc1def04c9f2fef017f234742869802198e02cab' => 
    array (
      0 => 'D:/phpStudy/PHPTutorial/WWW/myshop/Home/View\\User\\registerinfo.html',
      1 => 1527598491,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11230185455b0d471db2b1a0-17371941',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5b0d471dbef08',
  'variables' => 
  array (
    'reginfo' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5b0d471dbef08')) {function content_5b0d471dbef08($_smarty_tpl) {?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>用户注册</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" href="<?php echo @PUBLIC_PATH;?>
css/amazeui.min.css"/>
<link rel="stylesheet" href="<?php echo @IMAGES_PATH;?>
style.css"/>
<script src="<?php echo @PUBLIC_PATH;?>
js/jquery.min.js"></script>
<script src="<?php echo @PUBLIC_PATH;?>
js/amazeui.min.js"></script>
</head>

<body>
<div class="container">
	<!--引入头文件-->
	<?php echo $_smarty_tpl->getSubTemplate ("../header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

	<script>$('.title-link').text("注册信息")</script>
	
    <div class="cart-panel">
		<form class="am-form" action="<?php echo @__SELF__;?>
" method="post" enctype="multipart/form-data">
            <div class="am-form-group am-form-icon">
                <i class="am-icon-user" style="color:#329cd9"></i>
                <input type="text" name="name" class="am-form-field  my-radius" placeholder="请输入您的用户名" value="<?php echo $_smarty_tpl->tpl_vars['reginfo']->value['name'];?>
">
            </div>
            
            <div class="am-form-group am-form-icon">
                <i class="am-icon-envelope" style="color:#78c3ca"></i>
                <input type="text" name="email" class="am-form-field  my-radius" placeholder="请输入邮箱号码" value="<?php echo $_smarty_tpl->tpl_vars['reginfo']->value['email'];?>
">
            </div>
            <div class="am-form-group am-form-icon">
                <i class="am-icon-phone" style="color:#f09513"></i>
                <input type="text" name="phone" class="am-form-field  my-radius" placeholder="请输入联系电话" value="<?php echo $_smarty_tpl->tpl_vars['reginfo']->value['phone'];?>
">
            </div>
            <select name="sex" class="select-area am-radius">
            	<option >男</option>
            	<option <?php if ($_smarty_tpl->tpl_vars['reginfo']->value['sex']=="女"){?>selected="selected"<?php }?>>女</option>
            </select>
            
            <div class="withdrawals-panel" style="margin-top: 15px;">
            	<p class="am-text-center"><img src="<?php echo $_smarty_tpl->tpl_vars['reginfo']->value['touxiang'];?>
" class="qrcode-qrcode" /></p>
        	</div>
        	
            <div class="am-form-group am-form-file" style="margin-top: 15px;">
          		<div>
            		<button type="button" class="am-btn am-btn-default am-btn-sm">
              		<i class="am-icon-credit-card" style="color:#78c3ca"></i>修改头像</button>
         	 	</div>
          		<input type="file" class="images" name="touxiang" id="touxiang">
        	</div>
            
            <p class="am-text-center"><button type="submit" class="am-btn am-btn-danger am-radius am-btn-block">保存信息</button></p>
        </form>
    </div>
    
    <footer data-am-widget="footer" class="am-footer am-footer-default" data-am-footer="{  }">
        <hr data-am-widget="divider" style="" class="am-divider am-divider-default"/>
      <div class="am-footer-miscs ">
        <p>CopyRight©2014 AllMobilize Inc.</p>
        <p>京ICP备13033158</p>
      </div>
    </footer>
    <!--底部-->
    <?php echo $_smarty_tpl->getSubTemplate ("../footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>
<script type="text/javascript">
	$('#touxiang').change(function(){ //预览图片
		  var src=window.URL.createObjectURL(document.getElementById('touxiang').files[0]);
		  $('.qrcode-qrcode').attr('src',src);
		  console.log(src);
		});
</script>
</body>
</html>
<?php }} ?>